import React from 'react';
import {Route} from 'react-router';

import {WeaLocaleProvider} from 'ecCom';
const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'portal');

import Rss from './components/';
import More from './components/more';


const Routes = [
    <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@3i047p@Rss`} path="element" onEnter={getLocaleLabel} component={Rss}/>,
    <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@ks3m9f@More`} path="more" onEnter={getLocaleLabel} component={More}/>,
];

module.exports = {
    Route: Routes,
    com: {
        Rss
    } ,titles:{
        Rss:"RSS元素"
    }

};
